﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.DTOS.StatusMonitor
{
    public class WaveDataSource
    {
        /// <summary>
        /// 时间戳
        /// </summary>
        public DateTime TimeStamp { get; set; }
        /// <summary>
        /// 源数据存储内容
        /// </summary>
        public byte[] DataContent { get; set; }
        /// <summary>
        /// 通道号
        /// </summary>
        public int ChNo { get; set; }
        /// <summary>
        /// 通道id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 测点id
        /// </summary>
        public Guid PointId { get; set; }
        /// <summary>
        /// 类型，0正常 1报警
        /// </summary>
        [Required]
        public ChartEnum Type { get; set; }
    }
}
